Optimal. Leaf size=81 \[ \frac {\cos ^2(e+f x)^{\frac {1}{2} (1+n p)} \, _2F_1\left (\frac {n p}{2},\frac {1}{2} (1+n p);\frac {1}{2} (2+n p);\sin ^2(e+f x)\right ) \sec (e+f x) \left (b (c \tan (e+f x))^n\right )^p}{f n p} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 81, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {3740, 2681,
2657} \begin {gather*} \frac {\sec (e+f x) \cos ^2(e+f x)^{\frac {1}{2} (n p+1)} \, _2F_1\left (\frac {n p}{2},\frac {1}{2} (n p+1);\frac {1}{2} (n p+2);\sin ^2(e+f x)\right ) \left (b (c \tan (e+f x))^n\right )^p}{f n p} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2657
Rule 2681
Rule 3740
Rubi steps
\begin {align*} \int \csc (e+f x) \left (b (c \tan (e+f x))^n\right )^p \, dx &=\left ((c \tan (e+f x))^{-n p} \left (b (c \tan (e+f x))^n\right )^p\right ) \int \csc (e+f x) (c \tan (e+f x))^{n p} \, dx\\ &=\left (\cos ^{n p}(e+f x) \sin ^{-n p}(e+f x) \left (b (c \tan (e+f x))^n\right )^p\right ) \int \cos ^{-n p}(e+f x) \sin ^{-1+n p}(e+f x) \, dx\\ &=\frac {\cos ^2(e+f x)^{\frac {1}{2} (1+n p)} \, _2F_1\left (\frac {n p}{2},\frac {1}{2} (1+n p);\frac {1}{2} (2+n p);\sin ^2(e+f x)\right ) \sec (e+f x) \left (b (c \tan (e+f x))^n\right )^p}{f n p}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.16, size = 77, normalized size = 0.95 \begin {gather*} \frac {\, _2F_1\left (\frac {n p}{2},n p;1+\frac {n p}{2};\tan ^2\left (\frac {1}{2} (e+f x)\right )\right ) \left (\cos (e+f x) \sec ^2\left (\frac {1}{2} (e+f x)\right )\right )^{n p} \left (b (c \tan (e+f x))^n\right )^p}{f n p} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.18, size = 0, normalized size = 0.00 \[\int \csc \left (f x +e \right ) \left (b \left (c \tan \left (f x +e \right )\right )^{n}\right )^{p}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (b \left (c \tan {\left (e + f x \right )}\right )^{n}\right )^{p} \csc {\left (e + f x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (b\,{\left (c\,\mathrm {tan}\left (e+f\,x\right )\right )}^n\right )}^p}{\sin \left (e+f\,x\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________